package com.sdx.console.promote.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;
import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/* 
* 
* gen by Spring Boot2 Admin 2019-08-05
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class PromoteConfig extends BaseEntity{

    //租户id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID	
    private Integer tenantId ;
	
    //结算周期 单位天
    private Integer settlementCycle ;
	
    //押金比例 百分比，比如20表示20%
    private Integer depositRatio ;
	
    //结算截止日 比如901，指每年9月1日结算去年的帐，包括押金
    private Integer settlementDate ;
	
    //每日提现额度
    private Integer withdrawLimit ;

    /**  微信公众号appid */
    private String wxAppid;

    /** 微信商户id */
    private String wxMerchantId;
	
    //更新人
    private Integer updatedBy ;
	
    //更新人名称
    private String updatedName ;
	
    //更新时间
    private Date updatedTime ;
	

}
